Skip to content

Conversation

johahor
Copy link
Member

@johahor johahor commented Nov 22, 2026

The home page had two <nav aria-label="Account">: one in the header and one in the sign-up banner. axe requires landmarks with the same role to have different labels (landmark-unique), so the accessibility test for the home page failed in all three browsers, in both light and dark mode.

  • Renamed the label of the navigation in SignUpBanner to "Sign up"

All E2E tests pass again (208 passed, 2 skipped).

Closes #167

Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! All tests pass

@hestro hestro added the test Writing/editing tests label Nov 23, 2026
@hestro hestro added this to the Final Deliverable milestone Nov 23, 2026
@johahor johahor merged commit ea90852 into main Nov 23, 2026
8 checks passed
@johahor johahor added refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it. bug Something isn't working and removed test Writing/editing tests refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it. labels Nov 23, 2026
@martakam martakam deleted the fix/unique-nav-landmarks branch November 25, 2026 22:39
@martakam martakam restored the fix/unique-nav-landmarks branch November 25, 2026 22:39
@martakam martakam deleted the fix/unique-nav-landmarks branch November 25, 2026 22:40
Sign in to join this conversation on GitHub.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: give the navigation landmarks on the home page unique labels
2 participants